/**
 *
 * @authors garyzyz (zhouyouzhao@yeah.net)
 * @date    2016-12-01 10:36:50
 * @version $Id$
 */
/*
  import config & api
*/
import sConf from 'common/js/1_config_api';
import Sutil from 'common/js/2_base_util';

let Config = {};
Config.install = function (Vue, options) {
  Vue.prototype.sConf = options.data;
};
let Code = {};
Code.install = function (Vue, options) {
  Vue.prototype.code = options.data;
};
let Util = {};
Util.install = function (Vue, options) {
  Vue.prototype.util = options.data;
};
export default {
  Config,
  configOptions: sConf._conf,
  Code,
  codeOption: sConf._conf.code,
  Util,
  utilOption: (new Sutil())
};
